<template>
    <div class="shiList">
<!--      <div id="topAside">-->
<!--          <el-button type="goon" round size="medium"> 生态保护红线 </el-button>-->
<!--          <el-button type="goon" round size="medium"> 环境质量底线 </el-button>-->
<!--          <el-button type="goon" round size="medium"> 资源利用上线 </el-button>-->
<!--          <el-button type="goon" round size="medium"> 环境管控单元 </el-button>-->
<!--      </div>-->
      <div class="shiTable">
        <div   class="demo-input-suffix">
          <div class="searchBar">
<!--            <el-button type="primary" @click="hqSelect" size="mini">导入数据</el-button>-->
            <el-button type="goon" round size="medium" v-has="'daoru'" v-show="bt"   @click="hqSelect"> 导入成果数据 </el-button>
            <el-button type="goon" round size="medium" v-has="'daoru'"  v-show="!bt"   @click="hqSelectshi"> 导入成果数据 </el-button>
            <div style="display: none"> <span class="margin_left">矢量数据审核状态</span>
              <!--            <el-input size="medium" width="100" >-->
              <!--              <i slot="prefix" class="el-input__icon el-icon-search"></i>-->
              <!--            </el-input>-->
              <template>
                <el-select v-model="value" placeholder="请选择" size="medium" @change="selectValue">
                  <el-option
                    v-for="item in options"
                    :key="item.value"
                    :label="item.label"
                    :value="item.value">
                  </el-option>
                </el-select>
              </template>
              <el-button type="goon" round @click="queryAchievementText"
                         size="medium"  icon="el-icon-search" style="margin-left: 10px">
                查找
              </el-button>
              <el-button type="goon" round @click="resetRequestparams"
                         size="medium"  icon="el-icon-refresh">
                重置
              </el-button> </div>

          </div>

        </div>
        <div   class="vectortable">
          <el-table
            :data="theTextAchievementsInfosAll"
            border
            mini
            :stripe="true"
            style="width: 100%"
            height="100%"
            center
           >
            <el-table-column
              fixed
              prop="ID"
              label="序号"
              width="60">
            </el-table-column>
            <el-table-column
              prop="fileName"
              label="矢量文件"
              width="320">
              <template slot-scope="scope">
                <span v-if="bt">{{scope.row.fileName}}</span>
                <span v-else>{{scope.row.files[0].fileName}}</span>
              </template>
            </el-table-column>
            <el-table-column
              prop="uploadDate2"
              label="上传时间"
              width="190">
            </el-table-column>
            <el-table-column
              prop="reportUser"
              label="上传人"
              width="190">
            </el-table-column>
            <el-table-column
              prop="verifyType2"
              label="审核方式"
              width="160">
            </el-table-column>
            <el-table-column
              prop="verifyContent"
              label="当前审核状态"
              width="340">
            </el-table-column>
            <el-table-column
              prop="isApproved2"
              label="下一阶段审核描述"
             >
            </el-table-column>
<!--            <el-table-column-->
<!--              prop="REMARKS"-->
<!--              label="备注"-->
<!--              width="200">-->
<!--            </el-table-column>-->
            <!--<el-table-column
              fixed="right"
              label="操作">
              <template slot-scope="scope">
&lt;!&ndash;                <el-tooltip effect="light" content="查看审核详情" placement="top" :enterable="false">&ndash;&gt;
&lt;!&ndash;                    <el-button @click="handleClick(scope.row)" type="primary" size="mini"><i class="el-icon-view"></i></el-button>&ndash;&gt;
&lt;!&ndash;                </el-tooltip>&ndash;&gt;
                <el-tooltip effect="light" content="更新佐证材料" placement="top" :enterable="false">
                  <el-button
                    size="mini"  type="danger" v-show="showUpdateEvidence"
                    @click="handleEdit(scope.row)"><i class="el-icon-upload" ></i></el-button>
                  </el-tooltip>
                <el-tooltip effect="light" content="更新矢量文件" placement="top" :enterable="false">
                  <el-button
                    size="mini"  type="success"  v-has="'gengxin'"
                    @click="handleUpdateVector(scope.row)"><i class="el-icon-upload" ></i></el-button>
                </el-tooltip>
              </template>
            </el-table-column>-->
          </el-table>
          <div class="block">
            <el-pagination
              @size-change="handleSizeChange"
              @current-change="handleCurrentChange"
              :current-page="currentPage1"
              :page-sizes="[15,20,30,50]"
              :page-size="15"
              layout="total, sizes, prev, pager, next, jumper"
              :total=theTextAchievementsInfosTotalAll>
            </el-pagination>
          </div>
        </div>
       <!-- <el-dialog
          :title="dialogTitle"
          :visible.sync="dialog2Visible"
          width="25%"
          :close-on-click-modal=false
          center
          @close='quxiao2'
          :destroy-on-close="true"
          >
          <span style="font-size: 16px;margin-bottom: 10px"> 成果矢量数据规范 </span>
          <el-progress  :percentage="percentage1" v-bind:status="status1" style="margin-left: 20px"></el-progress>

          <ul style="margin: 0 0 10px 0">
           <li style="font-size: 14px" v-for="(index,item) in VectorTrueList" :key="item" :value="index"> <i class="el-icon-success" style="color: #67c23a"></i> {{item + 1 }}.{{ index }}</li>
            <li style="font-size: 14px" v-for="(index,item) in VectorFalseList" :key="VectorTrueListLength + item + 1" :value="index"><i class="el-icon-error"   style="color: #f56c6c"></i> {{ VectorTrueListLength + item + 1 }}.{{ index }}</li>
          </ul>
&lt;!&ndash;          <ul style="margin: 0 0 10px 0">&ndash;&gt;
&lt;!&ndash;           <li style="font-size: 14px" v-for="(index,item) in VectorFalseList" :key="item" :value="index"><i class="el-icon-error"   style="color: #f56c6c"></i> {{ VectorTrueListLength + item + 1 }}.{{ index }}</li>&ndash;&gt;
&lt;!&ndash;          </ul>&ndash;&gt;
          <span style="font-size: 16px;margin-bottom: 10px"> 管控要求 </span>
          <el-progress  :percentage="percentage2" v-bind:status="status2" style="margin-left: 20px"></el-progress>
          <ul style="margin: 0 0 10px 0">
           <li style="font-size: 14px" v-for="(index,item) in TextTrueList" :key="item" :value="index"><i class="el-icon-success" style="color: #67c23a"></i> {{item + 1 }}.{{ index }}</li>
           <li style="font-size: 14px" v-for="(index,item) in TextFalseList" :key="TextTrueListLength + item + 1" :value="index"><i class="el-icon-error"   style="color: #f56c6c"></i> {{TextTrueListLength + item + 1 }}.{{ index }}</li>
          </ul>
&lt;!&ndash;          <ul style="margin: 0 0 10px 0">&ndash;&gt;
&lt;!&ndash;           <li style="font-size: 14px" v-for="(index,item) in TextFalseList" :key="item" :value="index"><i class="el-icon-error"   style="color: #f56c6c"></i> {{TextTrueListLength + item + 1 }}.{{ index }}</li>&ndash;&gt;
&lt;!&ndash;          </ul>&ndash;&gt;
          <span style="font-size: 18px">结果：<span  :class="{ resultSu: isresultSu,resultFa:isresultFa }">{{ resultInfo }}</span></span>
          <span  v-show="reasonInfoShow" style="display: block;margin-top: 18px;font-size: 18px">原因：{{ reasonInfo }}</span>
          <span slot="footer" class="dialog-footer">
               <el-button size="medium" type="goon" round @click="quxiao2">关 闭</el-button>
&lt;!&ndash;         <el-button size="medium" type="goon" round @click="tijiao">确 定</el-button>&ndash;&gt;
          </span>
        </el-dialog>-->
        <el-dialog
          :title="dialogTitle"
          :visible.sync="dialog2Visible"
          width="25%"
          :modal-append-to-body=false
          :close-on-click-modal=false
          center
          @close='quxiao2'
          :destroy-on-close="true"
        >
          <span style="font-size: 16px;margin-bottom: 10px"> 审核结果：{{shenheresult}} </span>
          <div style="text-align: center;margin-top: 20px">
            <el-button size="medium" round type="success" @click="uploadbg">下载审核报告</el-button>
          </div>

        </el-dialog>
        <el-dialog
          title="导入成果数据"
          :visible.sync="dialogVisible"
          width="25%"
          :close-on-click-modal=false
          center
          @close='quxiao'
          :destroy-on-close="true"
        >
        <!--  <el-form ref="form" :model="form" label-width="160px">
            <el-form-item label="选择上传的矢量文件">
              <el-upload
                ref="upload1"
                class="upload-demo"
                action="#"
                :http-request="httpRequest"
                :on-preview="handlePreview"
                :on-remove="handleRemove"
                :before-upload="beforeUpload"
                :on-success="handleAvatarSuccess"
                :multiple="true"
                :limit="10"
                :on-change="getFile"
                :on-exceed="handleExceed"
                :file-list="fileList"
                :auto-upload="false"
              >
                <el-button size="medium" type="goon" round>选择文件</el-button>
              </el-upload>

            </el-form-item>
            <el-form-item v-show="showText" label="选择上传的成果清单">
              <el-upload
                ref="upload2"
                class="upload-demo"
                action="#"
                :http-request="httpRequest"
                :on-preview="handlePreview"
                :on-remove="handleRemove"
                accept=".xls, .xlsx"
                :before-upload="beforeUpload"
                :on-success="handleAvatarSuccess"
                :multiple="true"
                :limit="100"
                :on-change="getFileTo"
                :on-exceed="handleExceed"
                :file-list="fileList"
                :auto-upload="false"
              >
                <el-button size="medium" type="goon" round>选择文件</el-button>
              </el-upload>

            </el-form-item>

            <el-form-item label="选择上传的佐证材料">
              <el-upload
                ref="upload3"
                class="upload-demo"
                action="#"
                :http-request="httpRequest"
                :on-preview="handlePreview"
                :on-remove="handleRemove"
                :before-upload="beforeUpload"
                :on-success="handleAvatarSuccess"
                :multiple="true"
                :limit="100"

                :on-change="getFileThr"
                :on-exceed="handleExceed"
                :file-list="fileList"
                :auto-upload="false"
              >
                <el-button size="medium" type="goon" round>选择文件</el-button>
              </el-upload>

            </el-form-item>


          </el-form>-->
          <el-form ref="form" :model="form" label-width="160px">
            <el-form-item label="选择上传的矢量文件">
              <el-upload
                ref="upload1"
                class="upload-demo"
                action="#"
                :http-request="httpRequest"
                :on-preview="handlePreview"
                :on-remove="handleRemove"
                :before-upload="beforeUpload"
                :on-success="handleAvatarSuccess"
                :multiple="true"
                :limit="10"
                :on-change="getFile"
                :on-exceed="handleExceed"
                :file-list="fileList"
                :auto-upload="false"
                accept=".zip"
              >
                <el-button size="medium" type="goon" round>选择文件</el-button>
              </el-upload>
            </el-form-item>
            <el-form-item label="选择上传的管控要求">
              <el-upload
                ref="upload3"
                class="upload-demo"
                action="#"
                :http-request="httpRequest"
                :on-preview="handlePreview"
                :on-remove="handleRemove"
                :before-upload="beforeUpload"
                :on-success="handleAvatarSuccess"
                :multiple="true"
                :limit="100"
                :on-change="getFileThr"
                :on-exceed="handleExceed"
                :file-list="fileList"
                :auto-upload="false"
                accept=".zip"
              >
                <el-button size="medium" type="goon" round>选择文件</el-button>
              </el-upload>
            </el-form-item>

          </el-form>
          <span slot="footer" class="dialog-footer">
         <el-button size="medium" type="goon" round  @click="quxiao">取 消</el-button>
         <el-button size="medium" type="goon" round  @click="tijiao">确 定</el-button>
          </span>
        </el-dialog>
        <el-dialog
          title="导入成果数据"
          :visible.sync="dialogVisibleshi"
          width="25%"
          :close-on-click-modal=false
          center
          @close='quxiao'
          :destroy-on-close="true"
        >
          <!--  <el-form ref="form" :model="form" label-width="160px">
              <el-form-item label="选择上传的矢量文件">
                <el-upload
                  ref="upload1"
                  class="upload-demo"
                  action="#"
                  :http-request="httpRequest"
                  :on-preview="handlePreview"
                  :on-remove="handleRemove"
                  :before-upload="beforeUpload"
                  :on-success="handleAvatarSuccess"
                  :multiple="true"
                  :limit="10"
                  :on-change="getFile"
                  :on-exceed="handleExceed"
                  :file-list="fileList"
                  :auto-upload="false"
                >
                  <el-button size="medium" type="goon" round>选择文件</el-button>
                </el-upload>

              </el-form-item>
              <el-form-item v-show="showText" label="选择上传的成果清单">
                <el-upload
                  ref="upload2"
                  class="upload-demo"
                  action="#"
                  :http-request="httpRequest"
                  :on-preview="handlePreview"
                  :on-remove="handleRemove"
                  accept=".xls, .xlsx"
                  :before-upload="beforeUpload"
                  :on-success="handleAvatarSuccess"
                  :multiple="true"
                  :limit="100"
                  :on-change="getFileTo"
                  :on-exceed="handleExceed"
                  :file-list="fileList"
                  :auto-upload="false"
                >
                  <el-button size="medium" type="goon" round>选择文件</el-button>
                </el-upload>

              </el-form-item>

              <el-form-item label="选择上传的佐证材料">
                <el-upload
                  ref="upload3"
                  class="upload-demo"
                  action="#"
                  :http-request="httpRequest"
                  :on-preview="handlePreview"
                  :on-remove="handleRemove"
                  :before-upload="beforeUpload"
                  :on-success="handleAvatarSuccess"
                  :multiple="true"
                  :limit="100"

                  :on-change="getFileThr"
                  :on-exceed="handleExceed"
                  :file-list="fileList"
                  :auto-upload="false"
                >
                  <el-button size="medium" type="goon" round>选择文件</el-button>
                </el-upload>

              </el-form-item>


            </el-form>-->
          <el-form ref="form" :model="form" label-width="160px">
            <el-form-item label="选择上传的ZIP压缩文件">
              <el-upload
                ref="upload3"
                class="upload-demo"
                action="#"
                :http-request="httpRequest"
                :on-preview="handlePreview"
                :on-remove="handleRemove"
                :before-upload="beforeUpload"
                :on-success="handleAvatarSuccess"
                :multiple="true"
                :limit="1"
                :on-change="getFileThrShi"
                :on-exceed="handleExceed"
                :file-list="fileList"
                :auto-upload="false"
                accept=".zip"
              >
                <el-button size="medium" type="goon" round>选择文件</el-button>
              </el-upload>
            </el-form-item>

          </el-form>
          <span slot="footer" class="dialog-footer">
         <el-button size="medium" type="goon" round  @click="quxiaoshi">取 消</el-button>
         <el-button size="medium" type="goon" round  @click="tijiaoshi">确 定</el-button>
          </span>
        </el-dialog>
        <el-dialog
          :title="verifyTitle "
          :visible.sync="dialog3Visible"
          width="25%"
          :close-on-click-modal=false
          center
          @close='quxiao3'
          :destroy-on-close="true"
        >
          <h1>系统审核结果</h1>
          <span style="font-size: 16px;margin-bottom: 10px"> 成果矢量数据规范 </span>
          <el-progress  :percentage="100" status="success" style="margin-left: 20px"></el-progress>
          <span style="font-size: 16px;margin-bottom: 10px"> 管控要求 </span>
          <el-progress :percentage="60" status="success" style="margin-left: 20px"></el-progress>
          <span slot="footer" class="dialog-footer">
               <el-button size="medium" type="goon" round @click="quxiao3">关 闭</el-button>
            <!--         <el-button size="medium" type="goon" round @click="tijiao">确 定</el-button>-->
          </span>
        </el-dialog>
        <el-dialog
          title="更新佐证材料"
          :visible.sync="dialog4Visible"
          width="25%"
          :close-on-click-modal=false
          center
          @close='quxiao4'
          :destroy-on-close="true"
        >
          <el-form ref="form" :model="form" label-width="160px">
            <el-form-item label="选择上传的佐证材料">
              <el-upload
                ref="upload4"
                class="upload-demo"
                action="#"

                :http-request="httpRequest"
                :on-preview="handlePreview"
                :on-remove="handleRemove"
                :before-upload="beforeUpload"
                :on-success="handleAvatarSuccess"
                :multiple="true"
                :limit="100"
                :on-change="getFileFour"
                :on-exceed="handleExceed"
                :file-list="fileList"
                :auto-upload="false"
              >
                <el-button size="medium" type="goon" round>选择文件</el-button>
              </el-upload>

            </el-form-item>


          </el-form>

          <span slot="footer" class="dialog-footer">
         <el-button size="medium" type="goon" round @click="quxiao4">取 消</el-button>
         <el-button size="medium" type="goon" round @click="tijiao2">提 交</el-button>
          </span>
        </el-dialog>
        <el-dialog
          title="更新矢量数据"
          :visible.sync="dialog5Visible"
          width="25%"
          :close-on-click-modal=false
          center
          @close='quxiao5'
          :destroy-on-close="true"
        >
          <el-form ref="form" :model="form" label-width="160px">
            <el-form-item label="选择上传的矢量文件">
              <el-upload
                ref="upload5"
                class="upload-demo"
                action="#"
                :http-request="httpRequest"
                :on-preview="handlePreview"
                :on-remove="handleRemove"
                :before-upload="beforeUpload"
                :on-success="handleAvatarSuccess"
                :multiple="true"
                :limit="10"

                :on-change="getFileFive"
                :on-exceed="handleExceed"
                :file-list="fileList"
                :auto-upload="false"
              >
                <el-button size="medium" type="goon" round>选择文件</el-button>
              </el-upload>

            </el-form-item>
            <el-form-item v-show="showTextThr" label="选择上传的成果清单">
              <el-upload
                ref="upload6"
                class="upload-demo"
                action="#"
                :http-request="httpRequest"
                :on-preview="handlePreview"
                :on-remove="handleRemove"
                accept=".xls, .xlsx"
                :before-upload="beforeUpload"
                :on-success="handleAvatarSuccess"
                :multiple="true"
                :limit="100"
                :on-change="getFileSix"
                :on-exceed="handleExceed"
                :file-list="fileList"
                :auto-upload="false"
              >
                <el-button size="medium" type="goon" round>选择文件</el-button>
              </el-upload>

            </el-form-item>
            <el-form-item label="选择上传的佐证材料">
              <el-upload
                ref="upload7"
                class="upload-demo"
                action="#"
                :http-request="httpRequest"
                :on-preview="handlePreview"
                :on-remove="handleRemove"
                :before-upload="beforeUpload"
                :on-success="handleAvatarSuccess"
                :multiple="true"
                :limit="100"
                :on-change="getFileSev"
                :on-exceed="handleExceed"
                :file-list="fileList"
                :auto-upload="false"
              >
                <el-button size="medium" type="goon" round>选择文件</el-button>
              </el-upload>

            </el-form-item>

         </el-form>

          <span slot="footer" class="dialog-footer">
             <el-button size="medium" type="goon" round @click="quxiao5">取 消</el-button>
             <el-button size="medium" type="goon" round @click="tijiao3">更 新</el-button>
          </span>
        </el-dialog>
      </div>
    </div>
</template>

<script>

  import {createNamespacedHelpers} from 'vuex'
  const {mapGetters} = createNamespacedHelpers('dirmanage')
  export default {
    name: 'shiList',
    data() {
      return {
        dialogTitle:"",
        isresultSu:true,
        isresultFa:true,
        VectorTrueList:[],
        VectorTrueListLength:0,
        VectorFalseList:[],
        TextTrueList:[],
        TextTrueListLength:0,
        TextFalseList:[],
        percentage1:0,
        status1:'success',
        percentage2:0,
        status2:'success',
        options: [{
          value: '0',
          label: '审核不通过'
        }, {
          value: '1',
          label: '审核通过',
          // disabled: true
        }, {
          value: '2',
          label: '人工审核中'
        }],
        value:"",
        catalogName:[],
        VectorData:[],
        showText:false,
        showTextTwo:false,
        showTextThr:false,
        dialogVisible: false,
        dialogVisibleshi: false,
        dialog2Visible:false,
        fileurl:'',
        dialog3Visible:false,
        dialog4Visible:false,
        dialog5Visible:false,
        reasonInfoShow:false,
        filename:"",
        filenameTo:'',
        resultInfo:"",
        reasonInfo:"",
        verifyTitle:"",
        currentPage1: 1,
        form: {
          region: 1,
          list:[]
        },
        fileList:[],
        formData:null,
        evideceFormData:null,
        vectorFormData:null,
        activeIndex: '1',
        activeIndex2: '1',
        requestParams:{
           pageNumber:1,
           pageSize:15,
           isApproved:'',
        },
        requestParams2:{
          pageNumber:1,
          pageSize:15,
          isApproved:2,
        },
        achievementTempId:'',
        achievementTempIdTo:"",
        currentFileName:" ",
        showUpdateEvidence:true,
        shenheresult:'正在审核中',
        bt:true
      };
    },
    created () {

    },
    mounted() {
          if (window.sessionStorage.getItem('shi') === '65'){
            this.showUpdateEvidence = false
            this.bt=true
          }
          else{
            this.showUpdateEvidence = true
            this.bt=false
          }
          this.$store.dispatch('dirmanage/getDivisionAchievements',this.requestParams)
    },
    methods:{
      handleEdit(row){

        this.dialog4Visible = true
        this.evideceFormData = new FormData()
        this.achievementTempId = row.id
      },
      handleUpdateVector(row){

        this.vectorFormData = new FormData()
        this.dialog5Visible = true
        this.achievementTempIdTo = row.id

        this.currentFileName = row.fileName.split('.')[0]

      },
      handleClick(row){

         this.dialog3Visible = true
         this.verifyTitle = row.fileName
      },
      queryAchievementText() {
          this.requestParams.isApproved = this.value
          this.$store.dispatch('dirmanage/getDivisionAchievements',this.requestParams)
      },
      resetRequestparams(){
          this.value = ''
          this.requestParams.isApproved = this.value
          this.$store.dispatch('dirmanage/getDivisionAchievements',this.requestParams)
      },
      selectValue(){
        console.log(this.value)
      },
      handleSizeChange(val) {
        this.requestParams.pageSize = val
        this.$store.dispatch('dirmanage/getDivisionAchievements',this.requestParams)
      },
      handleCurrentChange(val) {
        this.requestParams.pageNumber = val
        this.$store.dispatch('dirmanage/getDivisionAchievements',this.requestParams)
      },
      handleChange(node,data){
           console.log(node,data)
      },
      handleSelect(key, keyPath) {
        console.log(key, keyPath);
      },
      async  hqSelect(){
       /* this.$alert('您好，进行导入之前建议先再备份管理手动备份一份数据避免数据丢失!', '请记得备份', {
          confirmButtonText: '确定',
          callback: action => {
            this.formData = new FormData();
            this.dialogVisible=true;
          }
        });*/
        this.formData = new FormData();
        this.dialogVisible=true;
      },
      async hqSelectshi(){
        this.formData = new FormData();
        this.dialogVisibleshi=true;
      },
      handleRemove(file, fileList) {
         console.log(file, fileList);
      },
      getFile(file){
      /*  this.filename = file.name
        if( file.name.indexOf('IntergratedControlUnit' )!==-1){
           this.showText = true
        }
        else{
           this.showText = false
        }*/
        this.formData.append("multipartFileZip",file.raw);

      },

      getFileTo(file){
        this.formData.append("multipartTextFile",file.raw);
      },
      getFileThr(file){
        this.formData.append("multipartTextFile",file.raw);
      },
      getFileThrShi(file){
        this.formData.append("multipartEvidenceFile",file.raw);
      },
      getFileFour(file){

        this.evideceFormData.append("multipartFile",file.raw);
      },
      getFileFive(file,filelist){

        // this.vectorFormData.append("multipartVectorFiles",file.raw);
        this.filenameTo = file.name
        if (this.currentFileName === file.name.split('.')[0]){
          if(file.name.indexOf('IntergratedControlUnit' )!==-1){
            this.showTextThr = true
          }
          else{
            this.showTextThr = false
          }
          this.vectorFormData.append("multipartVectorFiles",file.raw);
        }
        else{
          this.$message.error('更新前的矢量文件命名与更新上传的矢量文件不一致！！！')
        }

      },
      getFileSix(file){

        this.vectorFormData.append("multipartTextFile",file.raw);
      },
      getFileSev(file){

        this.vectorFormData.append("multipartEvidenceFile",file.raw);
      },
      handlePreview(file) {

      },
      handleExceed(files, fileList) {
        this.$message.warning(`当前限制选择 10 个文件，本次选择了 ${files.length} 个文件，共选择了 ${files.length + fileList.length} 个文件`);
      },
      beforeRemove(file, fileList) {
        return this.$confirm(`确定移除 ${ file.name }？`);
      },
      beforeUpload(file,fileList){
        console.log(file)
      },
      httpRequest(file){
        console.log(file)
      },

      handleAvatarSuccess(res, file) {

      },
      quxiao(){
        this.dialogVisible = false
        this.showText = false
        /* this.$refs.upload1.clearFiles();
         this.$refs.upload2.clearFiles();
         this.$refs.upload3.clearFiles();*/
      },
      quxiaoshi(){
        this.dialogVisibleshi = false
        /* this.$refs.upload1.clearFiles();
         this.$refs.upload2.clearFiles();
         this.$refs.upload3.clearFiles();*/
      },
      quxiao2(){
        this.dialog2Visible = false
        this.percentage1 = 0
        this.percentage2 = 0
        this.resultInfo = ''
        this.VectorFalseList = []
        this.VectorTrueList = []
        this.TextFalseList = []
        this.TextTrueList = []
        this.status1 = 'success'
        this.status2 = 'success'
        this.VectorTrueListLength = 0
        this.TextTrueListLength = 0
      },
      quxiao3(){
        this.dialog3Visible = false
      },
      quxiao4(){
        this.dialog4Visible = false
        this.$refs.upload4.clearFiles();
      },
      quxiao5(){
        this.dialog5Visible = false
        this.showTextThr = false
        this.$refs.upload5.clearFiles();
        this.$refs.upload6.clearFiles();
        this.$refs.upload7.clearFiles();
      },
      progress(val){
        this.percentage1 = val*10
        this.percentage2 = val*10
      },
      async tijiao(){
        /* if (this.formData.has('multipartVectorFiles') === true && this.formData.has('multipartEvidenceFile') === true) {
           this.dialogTitle = '导入结果'
           this.dialogVisible = false;
           this.dialog2Visible = true
           this.formData.append("typeId",1)
           if (this.filename.indexOf('IntergratedControlUnit')!==-1){
             if (this.formData.has('multipartTextFile')){
               // 师级 系统审核接口 /v1.0/resultIntegration/achievements/temp/fill/save
               // 通用 系统审核接口 /api/v1.0/resultIntegration/achievements/achievementsUniversal/fill/save/{isLayerFeature}
               await  this.$http.post('/v1.0/resultIntegration/achievements/achievementsUniversal/fill/save/0',this.formData). then( async  resulut1 =>{
                 if (resulut1.data.status==='6060'){
                   // this.$message.info(resulut1.data.message)

                   for(var i =0;i<11;i++){
                      setTimeout(await  this.progress(i),100 * i)
                   }
                   this.status1 = 'success'
                   this.status2 = 'success'
                   this.isresultSu = true
                   this.isresultFa = false
                   this.resultInfo = resulut1.data.message
                   this.VectorTrueList = resulut1.data.data.VECTOR[0].true
                   this.TextTrueList   = resulut1.data.data.TEXT[0].true
                   this.resultInfo = resulut1.data.message
                   this.reasonInfo = ''
                   this.$store.dispatch('dirmanage/getDivisionAchievements',this.requestParams)
                   this.$store.dispatch('dirmanage/getDivisionAchievementsVerifying',this.requestParams2)
                 }
                 else if (resulut1.data.status==='6081'){
                   this.dialog2Visible = false
                   this.$message.error(resulut1.data.message)
                 }
                 else if(resulut1.data.status==='6004'){
                      this.dialog2Visible = false
                      this.$message.error('文件保存失败，请重新上传')
                 }
                 else{
                   this.isresultSu = false
                   this.isresultFa = true
                   for(var j =0;j<11;j++){
                     setTimeout(this.progress(j),100 * j)
                   }

                     if (resulut1.data.data.VECTOR[0].false.length === 0 ){
                       this.status1 = 'success'
                       this.VectorTrueList = resulut1.data.data.VECTOR[0].true
                     }
                     else{
                       this.status1 = 'exception'
                       this.VectorFalseList = resulut1.data.data.VECTOR[0].false
                       this.VectorTrueList = resulut1.data.data.VECTOR[0].true
                       this.VectorTrueListLength = this.VectorTrueList.length

                     }
                   if (resulut1.data.data.TEXT[0].false.length === 0 ){
                       this.status2 = 'success'
                       this.TextTrueList = resulut1.data.data.TEXT[0].true
                   }
                   else{
                     this.status2 = 'exception'
                     this.TextTrueList = resulut1.data.data.TEXT[0].true
                     this.TextFalseList = resulut1.data.data.TEXT[0].false
                     this.TextTrueListLength = this.TextTrueList.length
                   }

                   // this.reasonInfoShow = true
                   this.resultInfo = resulut1.data.message
                   // this.reasonInfo = resulut1.data.data
                 }
               })
               this.$refs.upload1.clearFiles();
               this.$refs.upload2.clearFiles();
               this.$refs.upload3.clearFiles();
               this.dialogVisible = false;
               //
               this.showText = false
             }
             else{
               this.$message.error("请上传与矢量文件相匹配的成果清单表")
             }
           }
           else{
             // if(  ){
             //
             // }
             // this.dialog2Visible = true;
             await  this.$http.post('/v1.0/resultIntegration/achievements/achievementsUniversal/fill/save/1',this.formData).then(async resulut1 =>{
                 if (resulut1.data.status==='6060'){
                   this.isresultSu = true
                   this.isresultFa = false
                 for(var i =0;i<11;i++){
                  await  setTimeout(this.progress(i),100 * i)
                 }
                 this.status1 = 'success'
                 this.status2 = 'success'
                 this.resultInfo = resulut1.data.message
                 this.VectorTrueList = resulut1.data.data.VECTOR[0].true
                 this.TextTrueList   = resulut1.data.data.TEXT[0].true
                 this.$store.dispatch('dirmanage/getDivisionAchievements',this.requestParams)
                 this.$store.dispatch('dirmanage/getDivisionAchievementsVerifying',this.requestParams2)
               }
               else if (resulut1.data.status==='6081'){
                 this.dialog2Visible = false
                 this.$message.error(resulut1.data.message)
               }
               else if(resulut1.data.status==='6004'){
                 this.dialog2Visible = false
                 this.$message.error('文件保存失败，请重新上传')
               }
               else{
                   this.isresultSu = false
                   this.isresultFa = true
                 for(var j =0;j<11;j++){
                   setTimeout(this.progress(j),100 * j)
                 }
                 if (resulut1.data.data.hasOwnProperty('VECTOR')){
                   if (resulut1.data.data.VECTOR[0].false.length === 0 ){
                     this.status1 = 'success'
                     this.VectorTrueList = resulut1.data.data.VECTOR[0].true
                     this.VectorTrueListLength = this.VectorTrueList.length
                   }
                   else{
                     this.status1 = 'exception'
                     this.VectorTrueList = resulut1.data.data.VECTOR[0].true
                     this.VectorFalseList = resulut1.data.data.VECTOR[0].false
                     this.VectorTrueListLength = this.VectorTrueList.length
                   }
                 }


                 if (resulut1.data.data.TEXT[0].false.length === 0 ){
                   this.status2 = 'success'
                   this.TextTrueList = resulut1.data.data.TEXT[0].true
                 }
                 else{
                   this.status2 = 'exception'
                   this.TextTrueList = resulut1.data.data.TEXT[0].true
                   this.TextFalseList = resulut1.data.data.TEXT[0].false
                   this.TextTrueListLength = this.TextTrueList.length
                 }
                 this.reasonInfoShow = false
                 this.resultInfo = resulut1.data.message
                 this.reasonInfo = resulut1.data.data
               }

             })

             this.$refs.upload1.clearFiles();
             this.$refs.upload2.clearFiles();
             this.$refs.upload3.clearFiles();


           }
         }
         else if(this.formData.has('multipartVectorFiles') === true && this.formData.has('multipartEvidenceFile') === false){
           this.$message.error("请按照要求上传与矢量文件相匹配的佐证材料!!!")
         }
         else if(this.formData.has('multipartVectorFiles') === false && this.formData.has('multipartEvidenceFile') === true){
           this.$message.error("请按照要求上传矢量文件!!!")
         }
         else {
           this.$message.error("请按照要求上传文件!!!")
         }*/
        // this.$store.dispatch('dirmanage/uploadTextTable',this.formData)
        if (this.formData.has('multipartFileZip') === true && this.formData.has('multipartTextFile') === true) {
          const loading = this.$loading({
            lock: true,
            text: '正在审核中...',
            spinner: 'el-icon-loading',
            background: 'rgba(0, 0, 0, 0.7)'
          });
          this.dialogTitle = '导入结果'
          this.dialogVisible = false;

          /*this.formData.append("typeId",1);*/
          console.log(this.formData.get('multipartFileZip'))
          console.log(this.formData.get('multipartTextFile'))
       //   const {data:result}=await this.$http.post('/v1.0/resultIntegration/achievements/fill/save/saveZipFile',this.formData);
          await this.$http.post('/v1.0/resultIntegration/achievements/fill/save/saveZipFile',this.formData).then((result)=>{
              console.log(result)
            if(result.data.status=='6060'){
              //window.location.href = 'http://localhost:8803/'+result.data;
              //  this.fileurl='http://localhost:8803/'+result.data.data;
             //     this.fileurl='http://10.16.11.240:15480/'+result.data.data;
             this.fileurl='https://10.226.77.11/fils/'+result.data.data;
            //    this.fileurl='http://59.223.239.59:8803/'+result.data.data;
             //    this.fileurl='http://10.222.77.11:8803/'+result.data.data;
              this.shenheresult='审核完毕----审核结果请查看审核报告！';
              loading.close();
              this.dialog2Visible = true;
              //如果审核成功-将服务提供者的路径改为解压后shp文件的新路径即可实现实时更新
            }else {
              this.$message.error('审核失败！' +result.data.message);
              loading.close();
            }
            }).catch((error)=>{
            console.log(error)
            this.$message.error('您上传的文件不符合要求！');
            loading.close();
          })


        }
        else if(this.formData.has('multipartFileZip') === true && this.formData.has('multipartTextFile') === false){
          this.$message.error("请按照要求上传管控要求!!!")
        }
        else if(this.formData.has('multipartFileZip') === false && this.formData.has('multipartTextFile') === true){
          this.$message.error("请按照要求上传矢量文件!!!")
        }
        else {
          this.$message.error("请按照要求上传文件!!!")
        }
      },
      async tijiaoshi(){
        /* if (this.formData.has('multipartVectorFiles') === true && this.formData.has('multipartEvidenceFile') === true) {
           this.dialogTitle = '导入结果'
           this.dialogVisible = false;
           this.dialog2Visible = true
           this.formData.append("typeId",1)
           if (this.filename.indexOf('IntergratedControlUnit')!==-1){
             if (this.formData.has('multipartTextFile')){
               // 师级 系统审核接口 /v1.0/resultIntegration/achievements/temp/fill/save
               // 通用 系统审核接口 /api/v1.0/resultIntegration/achievements/achievementsUniversal/fill/save/{isLayerFeature}
               await  this.$http.post('/v1.0/resultIntegration/achievements/achievementsUniversal/fill/save/0',this.formData). then( async  resulut1 =>{
                 if (resulut1.data.status==='6060'){
                   // this.$message.info(resulut1.data.message)

                   for(var i =0;i<11;i++){
                      setTimeout(await  this.progress(i),100 * i)
                   }
                   this.status1 = 'success'
                   this.status2 = 'success'
                   this.isresultSu = true
                   this.isresultFa = false
                   this.resultInfo = resulut1.data.message
                   this.VectorTrueList = resulut1.data.data.VECTOR[0].true
                   this.TextTrueList   = resulut1.data.data.TEXT[0].true
                   this.resultInfo = resulut1.data.message
                   this.reasonInfo = ''
                   this.$store.dispatch('dirmanage/getDivisionAchievements',this.requestParams)
                   this.$store.dispatch('dirmanage/getDivisionAchievementsVerifying',this.requestParams2)
                 }
                 else if (resulut1.data.status==='6081'){
                   this.dialog2Visible = false
                   this.$message.error(resulut1.data.message)
                 }
                 else if(resulut1.data.status==='6004'){
                      this.dialog2Visible = false
                      this.$message.error('文件保存失败，请重新上传')
                 }
                 else{
                   this.isresultSu = false
                   this.isresultFa = true
                   for(var j =0;j<11;j++){
                     setTimeout(this.progress(j),100 * j)
                   }

                     if (resulut1.data.data.VECTOR[0].false.length === 0 ){
                       this.status1 = 'success'
                       this.VectorTrueList = resulut1.data.data.VECTOR[0].true
                     }
                     else{
                       this.status1 = 'exception'
                       this.VectorFalseList = resulut1.data.data.VECTOR[0].false
                       this.VectorTrueList = resulut1.data.data.VECTOR[0].true
                       this.VectorTrueListLength = this.VectorTrueList.length

                     }
                   if (resulut1.data.data.TEXT[0].false.length === 0 ){
                       this.status2 = 'success'
                       this.TextTrueList = resulut1.data.data.TEXT[0].true
                   }
                   else{
                     this.status2 = 'exception'
                     this.TextTrueList = resulut1.data.data.TEXT[0].true
                     this.TextFalseList = resulut1.data.data.TEXT[0].false
                     this.TextTrueListLength = this.TextTrueList.length
                   }

                   // this.reasonInfoShow = true
                   this.resultInfo = resulut1.data.message
                   // this.reasonInfo = resulut1.data.data
                 }
               })
               this.$refs.upload1.clearFiles();
               this.$refs.upload2.clearFiles();
               this.$refs.upload3.clearFiles();
               this.dialogVisible = false;
               //
               this.showText = false
             }
             else{
               this.$message.error("请上传与矢量文件相匹配的成果清单表")
             }
           }
           else{
             // if(  ){
             //
             // }
             // this.dialog2Visible = true;
             await  this.$http.post('/v1.0/resultIntegration/achievements/achievementsUniversal/fill/save/1',this.formData).then(async resulut1 =>{
                 if (resulut1.data.status==='6060'){
                   this.isresultSu = true
                   this.isresultFa = false
                 for(var i =0;i<11;i++){
                  await  setTimeout(this.progress(i),100 * i)
                 }
                 this.status1 = 'success'
                 this.status2 = 'success'
                 this.resultInfo = resulut1.data.message
                 this.VectorTrueList = resulut1.data.data.VECTOR[0].true
                 this.TextTrueList   = resulut1.data.data.TEXT[0].true
                 this.$store.dispatch('dirmanage/getDivisionAchievements',this.requestParams)
                 this.$store.dispatch('dirmanage/getDivisionAchievementsVerifying',this.requestParams2)
               }
               else if (resulut1.data.status==='6081'){
                 this.dialog2Visible = false
                 this.$message.error(resulut1.data.message)
               }
               else if(resulut1.data.status==='6004'){
                 this.dialog2Visible = false
                 this.$message.error('文件保存失败，请重新上传')
               }
               else{
                   this.isresultSu = false
                   this.isresultFa = true
                 for(var j =0;j<11;j++){
                   setTimeout(this.progress(j),100 * j)
                 }
                 if (resulut1.data.data.hasOwnProperty('VECTOR')){
                   if (resulut1.data.data.VECTOR[0].false.length === 0 ){
                     this.status1 = 'success'
                     this.VectorTrueList = resulut1.data.data.VECTOR[0].true
                     this.VectorTrueListLength = this.VectorTrueList.length
                   }
                   else{
                     this.status1 = 'exception'
                     this.VectorTrueList = resulut1.data.data.VECTOR[0].true
                     this.VectorFalseList = resulut1.data.data.VECTOR[0].false
                     this.VectorTrueListLength = this.VectorTrueList.length
                   }
                 }


                 if (resulut1.data.data.TEXT[0].false.length === 0 ){
                   this.status2 = 'success'
                   this.TextTrueList = resulut1.data.data.TEXT[0].true
                 }
                 else{
                   this.status2 = 'exception'
                   this.TextTrueList = resulut1.data.data.TEXT[0].true
                   this.TextFalseList = resulut1.data.data.TEXT[0].false
                   this.TextTrueListLength = this.TextTrueList.length
                 }
                 this.reasonInfoShow = false
                 this.resultInfo = resulut1.data.message
                 this.reasonInfo = resulut1.data.data
               }

             })

             this.$refs.upload1.clearFiles();
             this.$refs.upload2.clearFiles();
             this.$refs.upload3.clearFiles();


           }
         }
         else if(this.formData.has('multipartVectorFiles') === true && this.formData.has('multipartEvidenceFile') === false){
           this.$message.error("请按照要求上传与矢量文件相匹配的佐证材料!!!")
         }
         else if(this.formData.has('multipartVectorFiles') === false && this.formData.has('multipartEvidenceFile') === true){
           this.$message.error("请按照要求上传矢量文件!!!")
         }
         else {
           this.$message.error("请按照要求上传文件!!!")
         }*/
        // this.$store.dispatch('dirmanage/uploadTextTable',this.formData)
        if (this.formData.has('multipartEvidenceFile') === true) {
          const loading = this.$loading({
            lock: true,
            text: '正在导入中...',
            spinner: 'el-icon-loading',
            background: 'rgba(0, 0, 0, 0.7)'
          });
          this.dialogTitle = '导入结果'
          this.dialogVisible = false;
          this.formData.append("catalogId",0);
          this.formData.append("typeId",1);
          console.log(this.formData.get('multipartEvidenceFile'))
          const {data:result}=await this.$http.post('/v1.0/resultIntegration/achievements/achievementsUniversal/fill/save/0',this.formData);
          if(result.status=='6060'){
            //window.location.href = 'http://localhost:8803/'+result.data;
            //   this.fileurl='http://localhost:8803/'+result.data;
            // this.fileurl='http://10.16.11.240:15480/'+result.data;
           this.fileurl='https://10.226.77.11/fils'+result.data;
            //  this.fileurl='https://10.222.77.11/fils'+result.data;
            //   this.fileurl='http://59.223.239.59:8803/'+result.data;
           // this.shenheresult='审核完毕----审核结果请查看审核报告！';
            this.$message.success('上传成功！');
            this.$store.dispatch('dirmanage/getDivisionAchievements',this.requestParams)
            this.dialogVisibleshi=false
            loading.close();
           // this.dialog2Visible = true;
            //如果审核成功-将服务提供者的路径改为解压后shp文件的新路径即可实现实时更新
          }else {
            this.$message.error('审核失败！' +result.message);
            loading.close();
          }
        }
        else {
          this.$message.error("请按照要求上传文件!!!")
        }
      },
      uploadbg(){
        window.location.href = this.fileurl;
      },
      async  tijiao2(){
          if (this.evideceFormData.has("multipartFile")){
            // await  this.$store.dispatch('dirmanage/updateEvidenceFiles',{data:this.evideceFormData,achievementTempId:this.achievementTempId}).
            await  this.$http.put('/v1.0/resultIntegration/achievements/temp/fileTemp/updateEvidenceFiles/'+ this.achievementTempId,this.evideceFormData).
            then(result =>{
              if(result.data.status === '6000'){
                  this.$message.success(result.data.message)
              }
              else{
                this.$message.error('佐证材料更新失败，请重试！')
              }
            })
          }
          else{
            this.$message.error('当前没有需要上传的文件，请先选择文件后再进行上传')
          }
      },
      async  tijiao3() {
        if (this.vectorFormData.has('multipartVectorFiles') === true && this.vectorFormData.has('multipartEvidenceFile') === true) {
          this.dialogTitle = '更新结果'
          this.dialog5Visible = false;
          this.dialog2Visible = true
          // this.vectorFormData.append("id", this.achievementTempIdTo)
          if (this.filenameTo.indexOf('IntergratedControlUnit') !== -1) {
            if (this.vectorFormData.has('multipartTextFile')) {
              // 师 级 更新接口 /v1.0/resultIntegration/achievements/temp/fill/update
              // 通 用 更新接口 PUT /api/v1.0/resultIntegration/achievements/achievementsUniversal/fill/update/{isLayerFeature}
              await this.$http.put('/v1.0/resultIntegration/achievements/achievementsUniversal/fill/update/0/'+ this.achievementTempIdTo, this.vectorFormData).then(resulut1 => {
                if (resulut1.data.status === '6060') {
                  for(var i =0;i<11;i++){
                    setTimeout(this.progress(i),100 * i)
                  }
                  this.status1 = 'success'
                  this.status2 = 'success'
                  this.isresultSu = true
                  this.isresultFa = false
                  this.resultInfo = resulut1.data.message
                  this.VectorTrueList = resulut1.data.data.VECTOR[0].true
                  this.TextTrueList   = resulut1.data.data.TEXT[0].true
                  this.resultInfo = resulut1.data.message
                  this.reasonInfo = ''
                  // this.$message.info(resulut1.data.message)
                  // this.resultInfo = resulut1.data.message
                  // this.reasonInfo = ''
                  this.$store.dispatch('dirmanage/getDivisionAchievements', this.requestParams)
                }
                else if(resulut1.data.status==='6004'){
                  this.dialog2Visible = false
                  this.$message.error('文件保存失败，请重新上传')
                }
                else {
                    this.isresultSu = false
                    this.isresultFa = true
                    for(var j =0;j<11;j++){
                      setTimeout(this.progress(j),100 * j)
                    }
                    if (resulut1.data.data.hasOwnProperty('VECTOR')){
                      if (resulut1.data.data.VECTOR[0].false.length === 0 ){
                        this.status1 = 'success'
                        this.VectorTrueList = resulut1.data.data.VECTOR[0].true
                      }
                      else{
                        this.status1 = 'exception'
                        this.VectorFalseList = resulut1.data.data.VECTOR[0].false
                        this.VectorTrueList = resulut1.data.data.VECTOR[0].true
                        this.VectorTrueListLength = this.VectorTrueList.length
                      }
                    }


                    if (resulut1.data.data.TEXT[0].false.length === 0 ){
                      this.status2 = 'success'
                      this.TextTrueList = resulut1.data.data.TEXT[0].true
                    }
                    else{
                      this.status2 = 'exception'
                      this.TextFalseList = resulut1.data.data.TEXT[0].false
                      this.TextTrueList = resulut1.data.data.TEXT[0].true
                      this.TextTrueListLength = this.TextTrueList.length
                    }
                  // this.$message.error(resulut1.data.data)
                    this.reasonInfoShow = false
                    this.resultInfo = resulut1.data.message
                    this.reasonInfo = resulut1.data.data
                }
              })
              this.$refs.upload5.clearFiles();
              this.$refs.upload6.clearFiles();
              this.$refs.upload7.clearFiles();
              // this.dialog5Visible = false;
              // this.dialog2Visible = true
              this.showTextThr = false
            }
            else {
              this.$message.error("请上传与矢量文件相匹配的成果清单表")
            }
          }
          else {
            this.$http.put('/v1.0/resultIntegration/achievements/achievementsUniversal/fill/update/1/'+ this.achievementTempIdTo, this.vectorFormData).then(resulut1 => {
              if (resulut1.data.status === '6060') {
                for(var i =0;i<11;i++){
                  setTimeout(this.progress(i),100 * i)
                }
                this.status1 = 'success'
                this.status2 = 'success'
                this.isresultSu = true
                this.isresultFa = false
                this.VectorTrueList = resulut1.data.data.VECTOR[0].true
                this.TextTrueList   = resulut1.data.data.TEXT[0].true
                this.resultInfo = resulut1.data.message
                this.$store.dispatch('dirmanage/getDivisionAchievements', this.requestParams)
              }
              else if(resulut1.data.status==='6004'){
                this.dialog2Visible = false
                this.$message.error('文件保存失败，请重新上传')
              }
              else {
                this.isresultSu = false
                this.isresultFa = true
                // this.reasonInfoShow = true
                for(var j =0;j<11;j++){
                  setTimeout(this.progress(j),100 * j)
                }
                if (resulut1.data.data.hasOwnProperty('VECTOR')){
                  if (resulut1.data.data.VECTOR[0].false.length === 0 ){
                    this.status1 = 'success'
                    this.VectorTrueList  = this.resulut1.data.data.VECTOR[0].true
                  }
                  else{
                    this.status1 = 'exception'
                    this.VectorTrueList  = this.resulut1.data.data.VECTOR[0].true
                    this.VectorFalseList = resulut1.data.data.VECTOR[0].false
                    this.VectorTrueListLength = this.VectorTrueList.length
                  }
                }
                if (resulut1.data.data.TEXT[0].false.length === 0 ){
                  this.status2 = 'success'
                  this.TextTrueList = resulut1.data.data.TEXT[0].true
                }
                else{
                  this.status2 = 'exception'
                  this.TextTrueList = resulut1.data.data.TEXT[0].true
                  this.TextFalseList = resulut1.data.data.TEXT[0].false
                  this.TextTrueListLength  = this.TextTrueList.length
                }
                this.reasonInfoShow = false
                this.resultInfo = resulut1.data.message
                this.reasonInfo = resulut1.data.data
              }

            })
            this.$refs.upload5.clearFiles();
            this.$refs.upload6.clearFiles();
            this.$refs.upload7.clearFiles();

          }
        }
        else if(this.vectorFormData.has('multipartVectorFiles') === true && this.vectorFormData.has('multipartEvidenceFile') === false){
          this.$message.error("请按照要求上传与矢量文件相匹配的佐证材料!!!")
        }
        else if(this.vectorFormData.has('multipartVectorFiles') === false && this.vectorFormData.has('multipartEvidenceFile') === true){
          this.$message.error("请按照要求上传矢量文件!!!")
        }
        else {
          this.$message.error("请按照要求上传文件!!!")
        }
      }

    },
   computed:{
      ...mapGetters(['theTextAchievementsInfosAll']),
      ...mapGetters(['theTextAchievementsInfosTotalAll'])
   },
  }
</script>

<style scoped lang="scss">
.resultSu{
  color:#67c23a ;
  font-size: 18px;
}
.resultFa{
  color:#f56c6c;
  font-size: 18px;
}
::v-deep .el-progress-bar__outer{
  height: 10px !important;
  margin: 10px 0 10px 0 ;
}
::v-deep  .el-progress__text{
  font-size: 18px !important;

}
.vectortable{
  position: absolute;
  top: 6%;
  width: 98%;
  padding: 1%;
  /*height: 100%;*/
  height: calc(100% - 12%);
}
.shiList{
  position: absolute;
  left: 15.5%;
  //height: 87%;
  top: 9.5%;
  bottom: 1.5%;
  width: 83.5%;
  /*background-color: #ffffff;*/
  border-radius: 8px;
  /*border: 1px red solid;*/
}
#topAside{
  position: absolute;
  width: 100%;
  //height:56px;
  top: 1%;
  text-align: center;
  /*background-color: #545c64;*/
  border-radius: 8px 0;
}
::v-deep ul{list-style:none;display:inline-block;}
  ::v-deep .el-menu-item{
  font-size: 16px;
  padding:0 40px
}
  ::v-deep .el-menu--horizontal>.el-menu-item{
  height: 56px;
}
.shiTable{
  position: absolute;
  //top: 6%;
  background-color: #ffffff;
  width: 100%;
  height: 100%;
  //padding: 1%;
  border-radius: 8px;
  box-shadow: 0 0 5px #acc4fe;

}
/*.demo-input-suffix{*/
/*  !*height: 60px;*!*/
/*  padding: 10px;*/
/*}*/
.searchBar{
  display: inline-block;
  position: absolute;
  width: 98%;
  /*padding: 10px;*/
  background-color: #ffffff;
  padding: 1%;
  border-radius: 8px;
}
.el-input{
  width: 12%!important;
}
.searchBar > span{
  /*padding: 10px;*/
  font-size: 14px;
}
.margin_left{
  margin-left: 55%;
  margin-right: 20px;
}
span{
  color: #203f6e;
  font-size: 14px;
}

 ::v-deep .el-button--goon:focus, .el-button--goon:hover {
    color: #fff;
    border-color: #25e4a3;
    background: -webkit-linear-gradient(left,#3ee8c2,#25e4a3);
  }
  ::v-deep .el-button--goon:active {
    color: #fff;
    border-color: #25e4a3;
    outline: 0;
  }

#topAside {
  ::v-deep .el-button{
    width: 15%;
    font-size: 14px;
    //color: #a5b1ad;
    box-shadow: 0 0 2px #acc4fe;
  }
  ::v-deep .el-button:focus, .el-button:hover {
    color: #fff;
    border-color: #c6e2ff;
    background: -webkit-linear-gradient(left,#3ee8c2,#25e4a3);
  }
  ::v-deep .el-button--goon:active {
    color: #fff;
    border-color: #c6e2ff;
    outline: 0;
  }
}

::v-deep .el-input__inner{
    //border-radius: 45px;
  }

::v-deep .el-dialog__title{
    font-weight: bold;
    font-size: 20px;
    color: #45524f;
  }
  .el-dialog__body{

    .el-form{
      .el-form-item {
        .el-form-item__content{
          .el-input{
            ::v-deep  .el-input__inner{
              border-radius: 45px;
            }
          }

        }
      }
    }
  }
  ::v-deep .el-select .el-input__inner{
    border-radius: 45px;
  }
  //::v-deep .el-dialog__headerbtn .el-dialog__close{
  //  display: none;
  //}
  ::v-deep .el-form-item__content{
    ::v-deep  .el-input__inner{
      border-radius: 45px;
    }
  }
  ::v-deep .el-dialog__header {
    //background: -webkit-linear-gradient(left, #3ee8c2, #25e4a3);
    padding: 10px;
    border-radius: 8px 8px 0 0 ;
  }
  ::v-deep .el-dialog{
    border-radius: 8px;
    ul{
      display: block;
    }
  }

  ::v-deep .el-message-box__btns{
    ::v-deep .el-button:focus, .el-button:hover {
      color: #fff;
      border-color: #c6e2ff;
      background: -webkit-linear-gradient(left,#3ee8c2,#25e4a3);
    }
    ::v-deep .el-button:active {
      color: #fff;
      border-color: #c6e2ff;
      outline: 0;
    }
  }
  ::v-deep  .el-dialog__body{
    margin-left: 20px;
  }
  ::v-deep .el-dialog__headerbtn{
    top: 13px;
  }
  ::v-deep .cell{
    text-align: center;
  }
::v-deep .el-table__body-wrapper {
  /*height: 200px; !* 滚动条整体高 必须项 *!*/
  border-right: none;
  overflow-y: scroll;/* overflow-y为了不出现水平滚动条*/
}
::v-deep .el-dialog--center .el-dialog__body{
  padding: 10px;
}
::v-deep .el-table__body-wrapper::-webkit-scrollbar {
  width:6px;/* 滚动条的宽高 必须项 */
  height: 5px;
}
::v-deep .el-table__body-wrapper::-webkit-scrollbar-thumb {
  background-color: #bfcbd9;/* 滚动条的宽 */
  border-radius: 3px;
}
</style>
